<template>
	<div>
		<activities-one-pro :goodsInfo="list" :oneproid="oneproid" v-if="list.length>0"></activities-one-pro>
		<div v-if="list.length==0 && env === 'edit'" style="height: 2.5rem;line-height: 2.5rem;">请配置商品数据</div>
	</div>
</template>
<script>
	import activitiesOnePro from "../../../real-components/activitiesOnePro";
	export default {
		props: {
			list: {
				type: Array,
				default: () => []
			},
			oneproid: {
				type: String,
				default: ""
			},
		},
		data() {
			return {
                
			}
		},
		methods: {
			
		},
		watch: {
			
		},
		computed: {
			env() {
				return window.environment; // 获取是否是编辑状态
			},
		},
		components: {
			activitiesOnePro
		},
		created() {
          
		},
		mounted() {

		},
	}
</script>
<style scoped>

</style>